package com.angel.utils;

import com.angel.bean.Employee;
import com.angel.bean.Otherlog;
import com.angel.service.OtherlogService;

public class LogUtils {

    public static void InsertLog(Employee employee, OtherlogService otherlogService, String msg){
        otherlogService.insertSelective(new Otherlog(msg,employee.getEmId(),employee.getBranchesId(),employee.getEmName()));
    }
}
